package com.geek.factory.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.geek.factory.dto.DeviceRepairRecordDTO;
import com.geek.factory.entity.DeviceRepairRecord;
import com.geek.factory.mapper.DeviceRepairRecordMapper;
import com.geek.factory.service.DeviceRepairRecordService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeviceRepairRecordServiceImpl  extends ServiceImpl<DeviceRepairRecordMapper, DeviceRepairRecord> implements DeviceRepairRecordService {

    @Override
    public List<DeviceRepairRecordDTO> getRecordListWithDetails() {
        return this.baseMapper.selectWithDetails();
    }

}
